<div class="container">
    <div class="row">
        <div class="col-md-10 col-md-offset-2">
            <div class="smart-widget m-top-lg widget-dark-blue">
                <div class="smart-widget-header content_text">
                <?php echo $type."院系";?>
							<span class="smart-widget-option">
								<span class="refresh-icon-animated">
									<i class="fa fa-circle-o-notch fa-spin"></i>
								</span>
	                            <a href="#" class="widget-toggle-hidden-option">
                                    <i class="fa fa-cog"></i>
                                </a>
	                            <a href="#" class="widget-collapse-option" data-toggle="collapse">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
	                            <a href="#" class="widget-refresh-option">
                                    <i class="fa fa-refresh"></i>
                                </a>
	                        </span>
                </div>
                <div class="smart-widget-inner">
                    <div class="smart-widget-hidden-section">
                        <ul class="widget-color-list clearfix">
                            <li style="background-color:#20232b;" data-color="widget-dark"></li>
                            <li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
                            <li style="background-color:#23b7e5;" data-color="widget-blue"></li>
                            <li style="background-color:#2baab1;" data-color="widget-green"></li>
                            <li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
                            <li style="background-color:#fbc852;" data-color="widget-orange"></li>
                            <li style="background-color:#e36159;" data-color="widget-red"></li>
                            <li style="background-color:#7266ba;" data-color="widget-purple"></li>
                            <li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
                            <li style="background-color:#fff;" data-color="reset"></li>
                        </ul>
                    </div>
                    <div class="smart-widget-body">
                       <div class="row informationList">
                           <?php if($type=="教师"||$type=="辅导员"){?>
                           <?php $count = 0; foreach($arr_schoolAssistant as $item){
                               $institution = urlencode($item["wInstitution"]);
                               $count++;if($count==1){
                           ?>
                           <div class="col-md-5 col-md-offset-1">
                               <div class="list-group">
                                   <?php } if($count>=1&&$count<=$flag){?>
                                   <a href="<?php if($type=="教师"){echo site_url('Backend/getDetailInformation/10/').'/'.$institution;}else{echo site_url('Backend/getDetailInformation/9/').'/'.$institution;}?>" forPower="<?php echo $wPower;?>"  forInstitution="<?php echo $item['wInstitution'];?>" forUrl = "<?php echo site_url('Backend/getDetailInformation/9');?>" class="list-group-item btn btn-default"><?php echo $item["wInstitution"]; ?></a>
                                  <?php } if($count==$flag+1){?>
                               </div>
                           </div>
                           <div class="col-md-5 ">
                               <div class="list-group">
                                   <?php } if($count>=$flag+1){?>
                                   <a href="<?php if($type=="教师"){echo site_url('Backend/getDetailInformation/10/').'/'.$institution;}else{echo site_url('Backend/getDetailInformation/9/').'/'.$institution;}?>" forInstitution="<?php echo $item['wInstitution'];?>" forUrl = "<?php echo site_url('Backend/getDetailInformation/9');?>" class="list-group-item btn btn-default"><?php echo $item["wInstitution"]; ?></a>
                                   <?php }?>
                           <?php }?>
                           <?php } else if($type=="学生"){?>

                               <?php $count = 0; foreach($arr_schoolStudent as $item){
                                   $institution = urlencode($item["sInstitution"]);
                                   $count++;if($count==1){?>

                                   <div class="col-md-5 col-md-offset-1">
                                   <div class="list-group">
                               <?php } if($count>=1&&$count<=$flag){?>
                                   <a href="#" class="getDetailInformation list-group-item btn btn-default"  forInstitution="<?php echo $item['sInstitution'];?>" forUrl = "<?php echo site_url('Backend/getMajor/11');?>"><?php echo $item["sInstitution"]; ?></a>
                               <?php } if($count==$flag+1){?>
                                   </div>
                                   </div>
                                   <div class="col-md-5 ">
                                   <div class="list-group">
                               <?php } if($count>=$flag+1){?>
                                   <a href="#" class="getDetailInformation list-group-item btn btn-default"  forInstitution="<?php echo $item['sInstitution'];?>" forUrl = "<?php echo site_url('Backend/getMajor/11');?>"><?php echo $item["sInstitution"]; ?></a>
                               <?php }?>
                               <?php }?>
                               </div>
                               </div>

                           <?php }?>
                               </div>
                           </div>
                       </div>
                    </div>
                </div><!-- ./smart-widget-inner -->
            </div><!-- ./smart-widget -->

        </div>
    </div>
</div>



